home *** CD-ROM | disk | FTP | other *** search
- $numdevs{$name} = 13; $stddevs{$name} = "^([pram].*)\$";
-
- $generate{$name} = sub {
- my @mcdevs = ("beep", "modreq", "watchdog", "temperature", "hwtrap",
- "exttrp", "apm_bios", "rtc", "qcam0", "qcam1", "qcam2");
-
- if ($i < 11) { &$MkNod ("private", $mcdevs[$i], "c", 10, $i+128); }
- if ($i == 11){ &$MkNod ("private", "agpgart", "c", 10, 175); }
- if ($i == 12){ &$MkNod ("private", "ppp", "c", 108, 0); }
- }
-